package jezyk_java.robert_wolos.watki;


/**
 * Autor: Daniel Michalski
 * Data: 11.07.13
 */

public class Main {
    public static void main(String[] args) {
        MyRunnable myRunnable1 = new MyRunnable(1);
        MyRunnable myRunnable2 = new MyRunnable(2);

        Thread thread1 = new Thread(myRunnable1);
        Thread thread2 = new Thread(myRunnable2);

        thread1.start();
        thread2.start();

        Q q = new Q();

        /*watki.Producent producent = new watki.Producent(q);
        watki.Konsumer konsumer = new watki.Konsumer(q);

        Thread producentThread = new Thread(producent);
        Thread konsumerThread = new Thread(konsumer);

        producentThread.start();
        konsumerThread.start();*/
    }
}
